<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Extensions Requests FIT Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>
<p class="style1">Extensions Acceptance Test </p>
<p class="style1">The extensions request will not be permitted unless it applies with the policy, if the request is issued without an explanation it will not be sent to the supervisor, if the request was declined the finish date of the stage will not be changed and mails will be sent to the requestor.</p>
<p class="style1">Please note that after the extension request is entered to the database, you will have to delete that request in order to perform this check with the same request again. an sql query for deleting the request is attached at the the end of this page</p>
<table width="765" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="3" class="style1">fit.ActionFixture</td>
   </tr>
  <tr>
      <td class="style1">start</td>
    <td class="style1">ExtensionsDeclineFitTester</td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">enter</td>
    <td class="style1">start program with server</td>
    <td class="style1">localhost</td>
      </tr>
  <tr>
 <td class="style1">enter</td>
    <td class="style1">request id to extend </td>
    <td class="style1">109</td>
  </tr>
  <tr>
      <td class="style1">press</td>
    <td class="style1">get finish date </td>
    <td class="style1"></td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">get old date </td>
    <td class="style1">2013-07-13</td>
    </tr>
     <tr>
      <td class="style1">check</td>
    <td class="style1">check Extension Premission </td>
    <td class="style1">true</td>
    </tr>
     <tr>
   <td class="style1">enter</td>
    <td class="style1">request extension </td>
    <td class="style1">3</td>
  </tr>
  <tr>
     <td class="style1">check</td>
      <td class="style1">check database</td>
      <td class="style1">true</td>
  </tr>
  <tr> 
      <td class="style1">check</td>
      <td class="style1">mail sent</td>
      <td class="style1">true</td>
        </tr>
  <tr>
         <td class="style1">check</td>
    <td class="style1">extension decision </td>
    <td class="style1">No Decision</td>
  </tr>
  <tr>
   <td class="style1">enter</td>
    <td class="style1">request id to extend </td>
    <td class="style1">109</td>
  </tr>
  <tr>
      <td class="style1">press</td>
    <td class="style1">get finish date </td>
    <td class="style1"></td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">check Extension Premission </td>
    <td class="style1">false</td>
    </tr>
     <tr>
       <td class="style1">press</td>
    <td class="style1">handle decline decision </td>
    <td class="style1"></td>
  </tr>
   <tr>
      <td class="style1">check</td>
      <td class="style1">mail sent</td>
      <td class="style1">true</td>
        </tr>
  <tr>
       <td class="style1">press</td>
    <td class="style1">get finish date </td>
    <td class="style1"></td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">get new date </td>
    <td class="style1">2013-07-13</td>
    </tr>
     <tr>
       <td class="style1">check</td>
    <td class="style1">extension decision </td>
    <td class="style1">Decline</td>
     </tr>
  <tr> 
      <td class="style1">check</td>
      <td class="style1">check date change</td>
      <td class="style1">false</td>
      </tr>
 
</table>
<p><a herf="#" onClick="alert('update status_execution\nset extension_time=\'0\'\nwhere rid=\'109\';\n\ndelete from extension_request \nwhere rid=\'109\'');">Press HERE to view the SQL query you can run to quickly re-test extension requests for 109 change request.</a></p>
<p class="style1">ICM Braude project; 2013 @ Nitzan Inbar </p>
</body>
</html>
